| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Public Member Functions | Public Attributes | List of all members
nkGraphics::ShaderBoundResourceDesc< T > Class Template Reference

Holds information about a resource linked in a shader for feeding. More...

## Public Member Functions
| ShaderBoundResourceDesc () noexcept=default
| ShaderBoundResourceDesc (unsigned int slot, unsigned int space, T *resource) noexcept

## Public Attributes
unsigned int | _slot
| The register slot fed with the resource.
unsigned int | _space
| The register space fed with the resource.
T * | _resource
| The resource to feed with.

## Detailed Description

### template<typename T>
class nkGraphics::ShaderBoundResourceDesc< T >

Holds information about a resource linked in a shader for feeding.

## Constructor & Destructor Documentation

## ◆ ShaderBoundResourceDesc() [1/2]

template<typename T >

nkGraphics::ShaderBoundResourceDesc< T >::ShaderBoundResourceDesc | ( |  | ) |
| default noexcept

Default constructor.

## ◆ ShaderBoundResourceDesc() [2/2]

template<typename T >

nkGraphics::ShaderBoundResourceDesc< T >::ShaderBoundResourceDesc | ( | unsigned int | slot,
|  | unsigned int | space,
|  | T * | resource
| ) |  |
| noexcept

Filling constructor.

Parameters

  slot | The register slot used.
  space | The register space used.
  resource | The resource fed.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsGraphics/Shaders/ShaderResourceDesc.h